package com.cs;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
@EnableConfigServer
public class AConfigServiceApplication {

    private final static Logger logger = LoggerFactory.getLogger(AConfigServiceApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(AConfigServiceApplication.class, args);
        logger.info("=============================================================================");
        logger.info("============================配置中心启动成功====================================");
        logger.info("=============================================================================");
    }

}
